package com.kalaqia.permission.aspect;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface NeedPermission {
    String[] value();
    String getmsg() default "";
    //只申请权限，回调不弹窗=false  回调弹窗=true
    boolean isCallBack() default true;
}
